Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[io] Check whether a form still exists before resetting it #1465

Closed
wants to merge 1 commit into from

Conversation

andrewnicols
Copy link
Contributor

IO clears the form content on end, but if the caller removed the form soon
after it was called, this fails at a removeAttribute on part of the, now
non-existent form content.

We should check that the form exists before attempting to reset it.

Fixes #1121

IO clears the form content on end, but if the caller removed the form soon
after it was called, this fails at a removeAttribute on part of the, now
non-existent form content.

We should check that the form exists before attempting to reset it.
@lsmith
Copy link
Contributor

lsmith commented Dec 6, 2013

👍

andrewnicols added a commit to andrewnicols/moodle that referenced this pull request Dec 6, 2013
@ezequiel
Copy link
Contributor

ezequiel commented Dec 6, 2013

@andrewnicols,

You rock. I'm going to cherry pick this into dev-master though, as that is the place where small bug fixes should go (dev-master changes also make it into the next minor release).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants